Database complete

Generate button returns random task from database