deleted old unnecessary settings action sheet code