added advanced settings menu. Fixed crash when pressing rematch