Fixing bug with menu saving