Fixed the get sourcecode button event