Fix duplicate Up buttons on rotation