Preference now works - fixed two critical errors
Now the main activity correctly updates when re-loaded
Fixed a bad performance but that caused the grid to be redrawn every time
Now the main activity is no longer woken up by service update messages when unloaded
Made the service work correctly when restarted