changed dayselector activity into a fragment