added conditional statement in MainVC to check which alertView that appears