Reduce memory usage by lockscreen