Added some helper methods.
Changed bar buttons positions.