Added edit functionalities for note