Fixed multiclick bug.

When clicking the notes icon multiple times, multiple frames would open on top of each other causing the buttons to fail.