Added UI for editing locations