Local man invents pill dispenser that prevents misuse