monitoring of pressing button was added