Fixes #641

Bug fixed
Wrote tests
Bottombar methods fixed
Fragment methods adapted to new BottomBar methods
Bottombar methods changed to hide() and show()