Cleaned up button networking implementation