Added last functions to be able to checklist.
Fixed tray buttons, to do what the intend to do.