Update event.php

Fixed issue with uninstalling event, and removed need for two array checks in `removeHandler`