Adding advanced settings
All settings done

Settings modification done, advanced settings logic done.