Fixed lag issue. Made all buttons work