Revert "Revert "added check in case ":" is not present in wm preference.""
Revert "Revert "added check in case ":" is not present in wm preference.""

This reverts commit 77c94bd3d4dc460d836c0ba47f9fabfdd5b0fbfe.

deadalnix/pixel-saver,deadalnix/pixel-saver