SharedPreference fix for Welcome Dialog

Added sharedpreferences write when welcome dialog is displayed and "Do
not show again" is checked.
Accidentally changed project target to android-18