Replaces a checkbox with a customisable switch