added versionCode in Main Activity, added priority CheckBox