Added option to lock the ui

Changed the buttonbar file