Add check if activity is not null.
Add foreground notification.
Add service class methods.