Added line draw, free draw tools and save button and their respective functions