Update prefs.php

Fix typo in the code, causing error "ERROR: Preferences save attempt with default_calendar not set" when trying to save preferences