Fixed orientation change with constraints
more
added bar button functionality
Layouts set