Added onPress method

Added a new method that acts almost the same way as on method, only fires the callbacks once. This also fixes #22.