Move graph to a separate activity