adding 'paid' and 'clear' buttons