fixed the notification not updating after clicking; fixed a bug in rake file as well; changed the time format in studysession partials;debugged the notification function