added saving logs on sd, clear issues con secure preferences, removed show_logs constant