Added shared preferences listener to service.
Fixed bug: m_prefs was never set.
Lost service starts and stops itself.
Renamed methods.
MOved code around.