Update Metrolook.php

* Backported some changes from master branch.

Change-Id: If4ba36743992784a0f3f2a3593cbb656ae6ed738