Fixed edit location:
* location isn't reset to -1 when savving location.
* added possibility to remove associated location.