show alert and action sheet easier way in swift