Why am i getting an error on return sharePreferenceUtils : <p>I cant figure out why it wont let me return sharePreferenceUtils. is there a better way to do this? I get the error "incompatible types" </p>

<pre><code>    private static String Preference_NAME = "CodeLotto";
    private static SharePreferenceUtils sharePreferenceUtils;
    private SharedPreferences sharedPreferences;

    private SharePreferenceUtils(Context context){

        Preference_NAME = Preference_NAME + context.getPackageName();
        this.sharedPreferences = context.getSharedPreferences(Preference_NAME, Context.MODE_PRIVATE);

    }

    public static SharedPreferences getInstance(){
        if (sharePreferenceUtils == null) {
            sharePreferenceUtils = new SharePreferenceUtils(MyApp.getContext());
        }
       return sharePreferenceUtils;
    }
    public void saveString(String key, String Val){

        SharedPreferences.Editor editor = sharedPreferences.edit();
        editor.putString(key, Val);
        editor.commit();
    }

    public String getString(String key, String defVal){
        return sharedPreferences.getString(key, defVal);
    }
    public String getString(String key){
        return sharedPreferences.getString(key, "");
    }
}
</code></pre>
