added datepickerdialog and button to selection bar