add button to switch tileview and fix broadcast