Fixing Fragment Code and CodeSCreen sync bug

I’ve changed parts of the fragment xml layouts and I am also trying to
fix the sync bug.