Implemented Edit button.