New method of detecting toggle pressed