added selected attribute to selected option for menu layout