service implemented working in foreground and using notification