Changed timing of alerts

Image should change first and then alert pops