Add buttons and their functionality