The toggle and set active layers now work