Added custom ui switch