fixed #3801. State is changed to RESUME when game comes back to foreground if pause button was clicked in Interval Test

RT