CommonAPI: fix old ALert support for Android