Added implementation for specifying alert types to Alert activity