Zmiana Ifów na Switch....Case