Added can_encrypt condition to ViewKeyFragment