Better event handling in Android