Refactored settings options
Added run in background behavior
Refactored context usage in main activity
Refactored usage count stats
Updated readme preferences area
Checking for supported mode before setting flash to torch
Refactored toast messages