Fixed stuff with the service and its state

The service no longer runs when started
it also doesn't stop when going into other activities
back button on history does not clear the previous screen
Upon clicking finish, the elapsed time does not reset