question about modding small sun zy--t13

I love that this light has two switches but wish that it had mode memory so that it stayed in the same mode while using the tailcap switch until the mode was changed using the side switch. It it podible to mod this? Sorry if this has been covered but using the search function on my phone is limited.