Fix: Don't display the lock clock preference if its not installed

Removed duplicated codes