add alert and settings activity