Fixed application crash when switching between fragments. Close #93