add information in settings
add contraints and modify ok button event