finished alarm dialog

working on accelerometer sensor