main view check amount and buttons