Change error alert to phonegap notification