Layout changes

I have added a ToolBar with some function and deleted the exit function on C long press.
My skills with Qt are very limited. I don't know how to implement the "Clear History" function.