Use one listener to check two buttons