Morsi's custody extended for 30 days