Fixed some strict errors in settings page.