Implements issue #8. When the user edit a value, his choices are now restricted. This also fix the issue #6 duly.