Added repeat last stroke functionality