Added settings management using QSettings