move settings editing to index