Get acceleration value and added AlertsActivity as Main