@@ -0,0 +1,951 @@
+package de.metalmatze.krautreporter.helpers;%0A%0Aimport android.content.Context;%0Aimport android.content.SharedPreferences;%0Aimport android.preference.PreferenceManager;%0A%0Aimport java.util.Date;%0A%0Apublic class Settings %7B%0A    public static final String LAST_ARTICLE_UPDATE = %22lastArticlesUpdate%22;%0A    private final SharedPreferences preferences;%0A%0A    public Settings(Context context) %7B%0A        this.preferences = PreferenceManager.getDefaultSharedPreferences(context);%0A    %7D%0A%0A    /**%0A     * Saves the current timestamp as last articles update.%0A     */%0A    public void setLastArticlesUpdate() %7B%0A        long time = new Date().getTime();%0A        preferences.edit()%0A                .putLong(LAST_ARTICLE_UPDATE, time)%0A                .apply();%0A    %7D%0A%0A    /**%0A     * Returns the timestamp of the last articles update.%0A     *%0A     * @return Long%0A     */%0A    public Long getLastArticlesUpdate() %7B%0A        return preferences.getLong(LAST_ARTICLE_UPDATE, 0);%0A    %7D%0A%7D%0A

Create Settings helper class with lastArticlesUpdate methods