Add funcionallity to buttons in app