Fix issue during orientation change when recent button is disabled