QS: Improve code readability

This commit modifies the code for enabling and disabling the edit mode
on Quick Settings tiles. No behavioral changes are introduced.

Change-Id: I8090508a2e5746827431eb7fbcdc981873db0e67