Added permission to start on boot
Added threads to try and stop work being done on ui thread