Fix resize on load and added button to transaction demo