Fixing php fatal error, when no options are saved