fix grid layouts in study activity