Fixed bugs in AlarmManagerActivity.java

Signed-off-by: tfliu <thomasliu02@gmail.com>