Optimize: Flip to mute/dismiss call

move detachListeners() to a more approiprate place
reset event listener
use the accelerometer to get the orientation data