Resetting the bin content and recalling the bin content error

Hi,

Thank you for posting your code, but do not paste as text as it becomes unreadable and one cannot execute. Use code tags (```) or add the code as a file attachment.
See Tips for Efficient and Successful Posting