Fixed #194

Active and inactive buttons work