Created togglebutton for flashlight.
Created onStop() and onCreate().