Refactor and redesign add and edit in manage labels page