Added button handling, fixed issue with deck being recreated.