Fixed Intent error when going from MainActivity to Alert
Fixed intent switching from Main to Alert