Added table to main activity.