fixed more bugs of paying window, now buttons get disabled properly