Buttons and json setup