Added cancel button.
Added set_rate() method.
Small fixes.