Implemented data sending to historyfragment