add settings button and edit views