Added "lock location" button and logic.