Made the application work with the Advance Settings