Added the implementation of UI add click to add layer