You seem to have done quite a lot of work on the db, it's a shame you let it go untill the last minute.
Your switchboard isn't working properly because you have the same number in the =handlebuttonclick(4) for the options 4,5&6, re-number them and your switchboard will work