add new constructor to layout params, add getter for window cahce, add option to active/deactive notification