Added enabled method

this method is only for onEnable to put a non static event