make gui to components
fix wrong initial value
make amount accesible
move id up to parent class