Connected setters to panel

It closes #4 issue.