Creating proper checkbox formatter