Fix for resetting options to default on program start when in portable mode.