Changed button IDs to count from zero

also button changes from 0 to 1.