About to merge the Light sensitivity settings
Fully working, I think I would be happyto release this code although the
interface needs a lot of work!

Now to add a service that lets the torch run even when the screen is
off.
Trying to get the service to make the light stay on when the screen is
turned off.

This currently works to an extent, still some bugs to iron out.
Bugs ironed out, the light now stays on once the app has been stopped,
and / or the screen turned off.
Getting the notification / service thing working
Managed to get my service to close by clicking on it's notification.
Just got to get it to close the rest of the application now.
Comunicating from the notification now to close the service and the
activity, so the app is effectivly closed. Seems to be working fine.
All working, notification now leaves the main activity in the same state
it was in rather than either always killing it or always having it open.

Bed time...
Everything working nicely, added more functionality to the torch being
operated from the service. Seems to be all working fine.
All working, just about to implement LocalBroadcastManager to comunicate
between the LightFragment and the service. This will close the service
when it starts to get light.
Fixed bug making the app crash when there are multiple quick button
presses. Now I need to keep trak of the new services that are opened,
currenty they aren't seeing a static variable that stops them from
running so after sme quick button presses there are some unkillable
services running.
Working build, implemented LocalBroadcastManager to end the service
instead of static variables. Just trying to stop multiple services
getting backed up now.
Trying to kill all of the queued service intents without causing a crash
is proving to be very tricky. Looks like the best solutio might be to
swap the IntentService for a normal service. IntentService is working
fine at the moment, just stacking service intents...
Sorted out the logic with the IntentService so they don't stack up now.
Seems to be working fine.
Seems to have the basic functionality and logic working now, can't find
any bugs.
Auto-On now working
Working with a couple of bugs when you turn the screen on / off tying in
with the imortal torch setting.
Timer is up and running. Need to clean up fragment implementation and
make sure timer starts if the torch starts as soon as the app is opened.
Timer working when the torch is turned on as soon as the app starts.
Working on getting the prefferences to show variables rather than a
static summary.