fixed alert warning success bug, changed text for different platforms