Application setting was not working