move layer API inside Storyboard
Selected layer now works from StoryBoard