Updating layout and ability to control actionbars