Added functionality to grey out buttons. Kinda glitchy.