use clicked instead of pressed event