Change back PushEvent() to return int instead of bool

Signed-off-by: Jacky Boen <aqiank@gmail.com>