onClickEdit is now working