Improved buttons functionality. Added Progressbar widget.