Change application-slots widget checkbox based on condition?