Notify the service properly when the activity becomes visible.