add alert view delegate in declaration