Fix to layout, refresh button and rotation.