Working on transaction states and buttons