Fix
Changed way of storing boolean in settings to 0/1