Fixes #641

Bug fixed
Wrote tests
Bottombar methods fixed
Fragment methods adapted to new BottomBar methods