fix warning
switch between view flipper children when tab bar buttons clicked