Ensures that if certificate is moved and moved the correct state is displayed