Prepare settings form