Implemented Spinner widget from trojita project