Moved graph drawing to its own method

Graph now drawn in onResume(), so it refreshes with any new info added
to the db when returning from a new analysis session, as well as when
opening the topic directly.