Fix error submitting options on mobile app

Also fixes bug changing rain sensor option