Added basic editing functionality on canvas