fixed button press and loading