Don't restart activity on UI mode change