persistence for checkbox in setlocationfragment and other stuff, can refactor later if you want