Implement Qsettings to store application status.