fixed bug with Service crashing and  notifications.