fixed a few bugs with push notifications and fixed the schedule