Are you modifying the CustomListView source code? (Nothing negative, it's allowed; I'm just asking to make sure I understand correctly.)
Anyway, I think one of the first things to do when debugging is to write lots of logs; in this case, to verify that Sub Beep is actually being called by the rest of your project.
I'm also wondering if inline-java is necessary; is it possible there's no library for "playing" a beep (I don't remember, I'll have to look)?
Or maybe you don't want to use one?