Corrected first run logic.

Added default true value for SETTING_FIRST_RUN.