Select the tab when swiping and swipe when selecting

TODO:
    1. Counries count.
    2. ON DELETE, ON UPDATE