Small refactor of code for manipulating lane mask on settings page.
Small refactor of code for manipulating lane mask on settings page.

jeffpiazza/derbynet,jeffpiazza/derbynet,jeffpiazza/derbynet,jeffpiazza/derbynet,jeffpiazza/derbynet,jeffpiazza/derbynet,jeffpiazza/derbynet