Toggle the view after confirming a transaction