Fix alertMsg being presented as a string rather than a variable on Android