Made selection colour and stroke global variables