Refactored the method collapseAll.
Refactored the Main Activity to delegate some of it's repsonsibility to a new class(MainActivityProduct) which is a controller to take some of the MainActivity's methods.
Added comments to new MainActivityProduct.