Clicking pencil again closes rating window