fixed the first initial button clicks and flippy updates

still need to fix second click of button