implemented value editing for string and int options