Adding category Edit function in front-end.