[Front-end] Added logic to edit activity information
[Front-end] Fixed bug of putting twice on edit