MoodActivity: added the onResume method

Reopens the connection to the database (if previously closed by onPause) and
checks if the Mood can still be modified.