Temporary checking for already runnign service before starting new alarm.
Unregistering broadcast receiver in MainActivity during onPause.