Added pin to ui