Fixed InitModel bug and added broadcast receiver to MainActivity, to listen to changes of pending classes (for GT logger)